package com.corpgovernment.common.supplier;

/**
 * 注册ResultCode及对应异常
 *
 * @author xukang zhang
 * @date 2023/8/28 10:56
 */
public interface ResultCodeMappingExceptionRegistrySupport {

    /**
     * 用户重写该方法，注册自定义的ResultCode及对应异常的映射关系
     *
     * @param resultCodeMappingExceptionHolder
     */
    void extendResultCodeMappingException(ResultCodeMappingExceptionHolder resultCodeMappingExceptionHolder);

}
